body {
    margin-right: calc(-1 * (100vw - 100%));
    overflow-x: hidden;
}

.upload-area a {
    margin: 0 5px;
}

#file-list li {
    position: relative;
}

#file-list li .accessories-group {
    position: absolute;
    right: 5px;
    bottom: 10px;
    display: flex;
}

#file-list li .accessories-group>a {
    display: block;
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

#file-list li .accessories-group>a:first-child {
    margin-left: 0;
}

#file-list li .accessories {
    background-size: cover;
    cursor: pointer;
}

#file-list li .accessories-type {
    position: absolute;
    background: #00B4E3;
    color: #fff;
    padding: 3px 5px;
    right: 0;
    top: 0;
}

#file-list li .accessories.not-image {
    background-image: url();
}

#file-list li .accessories.image {
    background-image: url();
}

#file-list li .accessories.copy-link {
    background-image: url();
}

#file-list li .accessories.payment {
    background-image: url();
}

#file-list li .accessories.password {
    background-image: url();
}

#file-list li .accessories.setting {
    background-image: url();
}

#upload-panel span.ph-btn {
    display: block;
    text-align: center;
    background-color: #8DC5ED;
    padding: .5em;
    cursor: pointer;
    color: #333;
    margin-bottom: .25em;
}

#upload-panel span.ph-btn:last-child {
    margin-bottom: 0;
}

.accessories-dialog {
    display: none;
    overflow: hidden;
}

.accessories-dialog-background {
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessories-dialog-content {
    width: 100%;
    padding: 20px;
    max-width: 480px;
    background-color: #F6F6F3;
}

.accessories-dialog-content .dialog-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.accessories-dialog-content .dialog-item {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.accessories-dialog-content .dialog-item.flex-column {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.accessories-dialog-content .dialog-item label {
    white-space: nowrap;
    margin-right: 10px;
    width: auto;
}

.accessories-dialog-content .dialog-item input {
    width: auto;
    min-width: 100px;
    flex: 1 0;
}

.accessories-dialog-content .dialog-item textarea {
    height: 4em;
    width: 100%;
}

.accessories-dialog-content button {
    margin-right: 10px;
}